﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ManttoCobradores.aspx.cs" Inherits="WebPeajes.Paginas.ManttoCobradores" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style3
        {
            width: 71px;
        }
        .style5
        {
            width: 100px;
        }
        .style6
        {
            width: 90px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <h2> Lista de Cobradores</h2>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    </div>
    <div>    
        <asp:GridView ID="GvCobradores" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField HeaderText="DNI" DataField="DNI" />
                <asp:BoundField HeaderText="Nombres" DataField="Nombres" />
                <asp:BoundField HeaderText="Apellidos" DataField="Apellidos" />
                <asp:BoundField HeaderText="Fec.Nacimiento" DataField="FecNacimiento" />
                <asp:BoundField HeaderText="Teléfono" DataField="Telefono" />
                <asp:CheckBoxField HeaderText="Estado" DataField="Estado" />
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>    
    </div>
    <div>
        <h3> Cobrador</h3>
    </div>
    <div>    
        <table class="style1">
            <tr>
                <td class="style5">
                    Nombres:</td>
                <td>
                    <asp:TextBox ID="TextBox1" Width="25%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    Apellidos:</td>
                <td>
                    <asp:TextBox ID="TextBox2" Width="25%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    Fec.Nacimiento:</td>
                <td>
                    <asp:TextBox ID="txtFecInicio" MaxLength="10" Width="65px" runat="server"
                    onkeypress="JavaScript: Tecla('Integer');" onblur="JavaScript: ValidarFecha(this);">
                    </asp:TextBox>
                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="imbFecha1"
                        Format="dd/MM/yyyy" TargetControlID="txtFecInicio">
                    </asp:CalendarExtender>
                    <asp:ImageButton ID="imbFecha1" runat="server" Height="22px" ImageAlign="AbsBottom"
                        ImageUrl="~/imagenes/Calendar.bmp" Width="22px" />
                </td>
            </tr>
            <tr>
                <td class="style5">
                    Teléfono:</td>
                <td>
                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td class="style5">
                    Estado:</td>
                <td>
                    <asp:CheckBox ID="Estado" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <table>
                        <tr>
                            <td>
                                <asp:Button ID="Button1" runat="server" Text="Guardar" Width="75px" 
                                    onclick="Button1_Click" />
                            </td>
                            <td>
                                <asp:Button ID="Button2" runat="server" Text="Actualizar" />
                            </td>
                            <td>
                                <asp:Button ID="Button3" runat="server" Text="Cancelar" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
</asp:Content>
